var arr = [
  { name: '郑00昊', height: 175, weight: 130, sex: 'm', msg: 'superman' },
  { name: '李天成', height: 170, weight: 100, sex: 'm', msg: 'ren' },
  { name: '梁恐爪', height: 178, weight: 120, sex: 'f', msg: 'ren' },
  { name: '攀枝花', height: 170, weight: 160, sex: 'f', msg: 'ren' },
];

var oUl = document.getElementById('wrapper').children[1].children[0];
// console.log(oUl);
function renderPage() {
  var htmlStr = '';
  arr.forEach(function (item, i) {
    htmlStr +=
      '<li><img src=./img/picture' +
      i +
      "><p class='name'>" +
      item.name +
      "</p><p class='msg'>" +
      item.msg +
      '</p></li>';
  });
  oUl.innerHTML = htmlStr;
}
